package com.macro.mall.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class Opinion implements Serializable {
    @ApiModelProperty(value = "建议id")
    private Long id;

    @ApiModelProperty(value = "建言人的账号id")
    private Long accountId;

    @ApiModelProperty(value = "针对项目名称")
    private String projectName;

    @ApiModelProperty(value = "建议类型")
    private String type;

    @ApiModelProperty(value = "具体内容")
    private String content;

    @ApiModelProperty(value = "是否已整改")
    private Byte isRectified;

    private Integer rectifiedId;

    private Date rectifiedTime;

    @ApiModelProperty(value = "是否已回复")
    private Byte isReply;

    @ApiModelProperty(value = "回复人id，admin表id")
    private Long replyId;

    @ApiModelProperty(value = "回复的内容")
    private String replyContent;

    @ApiModelProperty(value = "回复时间")
    private Date replyTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "删除人")
    private Long deleteAdminId;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDelete;

    @ApiModelProperty(value = "删除时间")
    private Date deleteTime;

    @ApiModelProperty(value = "图片URL JSON结构")
    private String picture;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Byte getIsRectified() {
        return isRectified;
    }

    public void setIsRectified(Byte isRectified) {
        this.isRectified = isRectified;
    }

    public Integer getRectifiedId() {
        return rectifiedId;
    }

    public void setRectifiedId(Integer rectifiedId) {
        this.rectifiedId = rectifiedId;
    }

    public Date getRectifiedTime() {
        return rectifiedTime;
    }

    public void setRectifiedTime(Date rectifiedTime) {
        this.rectifiedTime = rectifiedTime;
    }

    public Byte getIsReply() {
        return isReply;
    }

    public void setIsReply(Byte isReply) {
        this.isReply = isReply;
    }

    public Long getReplyId() {
        return replyId;
    }

    public void setReplyId(Long replyId) {
        this.replyId = replyId;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    public Date getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(Date replyTime) {
        this.replyTime = replyTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getDeleteAdminId() {
        return deleteAdminId;
    }

    public void setDeleteAdminId(Long deleteAdminId) {
        this.deleteAdminId = deleteAdminId;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", accountId=").append(accountId);
        sb.append(", projectName=").append(projectName);
        sb.append(", type=").append(type);
        sb.append(", content=").append(content);
        sb.append(", isRectified=").append(isRectified);
        sb.append(", rectifiedId=").append(rectifiedId);
        sb.append(", rectifiedTime=").append(rectifiedTime);
        sb.append(", isReply=").append(isReply);
        sb.append(", replyId=").append(replyId);
        sb.append(", replyContent=").append(replyContent);
        sb.append(", replyTime=").append(replyTime);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", deleteAdminId=").append(deleteAdminId);
        sb.append(", isDelete=").append(isDelete);
        sb.append(", deleteTime=").append(deleteTime);
        sb.append(", picture=").append(picture);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}